package com.cn.medicalcare.mapper;

import com.cn.medicalcare.pojo.AllPage;
import com.cn.medicalcare.pojo.NewsCategory;

import java.util.List;

public interface NewsCategoryMapper {

    List<NewsCategory> selectNewsCategoryAll();

    List<NewsCategory> selectNewsCategoryInPage(AllPage<NewsCategory> allPage);

    int selectNewsCategoryCount(NewsCategory newsCategory);

    boolean insertNewsCategory(NewsCategory newsCategory);

    boolean updateNewsCategory(NewsCategory newsCategory);

}
